
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">{[$result.id]}（{[$result.oper_t]}）</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>		
		<td align="right">借款人：</td>
		<td>{[$result.emp_t]}</td>
		<td align="right">类型：</td>
		<td>{[$result.type_t]}</td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3">{[$result.name]}</td>
	</tr>
	<tr>
		<td align="right">金额：</td>
		<td colspan="3">（大写）{[$result.currency_t]} {[$result.amount|rmb]} （小写）{[$result.currency]} {[$result.amount|money]}</td>
	</tr>
	<tr>
		<td align="right">期间：</td>
		<td>{[$result.begin]} 至 {[$result.end]}</td>
		<td align="right">期限：</td>
		<td>{[$result.day]}天</td>
	</tr>
	<tr>
       <td align="right">支付：</td>
		<td colspan="3">{[html_checkboxes name="payment" options=$payment_option selected=$result.payment]}</td>
	</tr>
	{[if $result.payment eq '2']}
	<tr>
		<td></td>
		<td colspan="3">
		{[include file="finance/payment/_bank_view.tpl"]}		
		</td>
	</tr>
	{[/if]}	
	<tr>
		<td align="right">备注：</td>
		<td colspan="3">{[$result.content]}</td>
	</tr>
	<tr>
		<td colspan="4">
		{[foreach name=outer key=key item=item from=$result.files]}
		{[assign var="no" value="`$key+1`"]}
		{[if $item.type eq 'image']}
		<a href="{[$item.url]}" class="jqzoom" rel='gal1' title="triumph" >
		<img src="{[$item.url]}" width="200" alt="{[$item.key]}"></a>
		{[else]}
		{[$item.key]}
		{[/if]}
		<a href="javascript:void(0)" onclick="jswin('finance.php?do=Borrow.download&key={[$item.key]}', 'download', '800x600')">下载</a><br/>
		{[/foreach]}
		</td>
	</tr>
	<tr>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
	</tr>
</table>

<style type="text/css">

.jqzoom {
	display:block;
	height: 200px;
	width: 550px !important;
	border: 1px solid #EAEAEA;
	text-align: center;
	text-decoration:none;
	float:left;
}
</style>

<script type="text/javascript">
$(function() {

	$('.jqzoom').jqzoom({
		zoomType: 'standard',
		zoomHeight: 180,
		lens: true,
		preloadImages: false,
		alwaysOn: false
   });
	
});
</script>

